.content_body {
  height: 100%;
  background-color: var(--theme-bg-primary);
  color: var(--theme-text-primary);
  box-sizing: border-box;
  padding: 12px;
  position: relative;
  // padding-top: 65px;
  :global {
    .adm-list-body {
      background: var(--theme-bg-primary);
    }
  }

  .list_item {
    display: flex;
    width: 100%;
    padding: 0;
    margin-bottom: 16px;

    :global {
      .adm-list-item-content {
        width: 100%;
        flex: 1;
        padding-right: 0;
        border-top: none;

        .adm-list-item-content-main {
          display: flex;
          padding: 0;
        }
      }
    }

    .list_item_content {
      width: 100%;
      display: flex;
      column-gap: 12px;
      align-items: center;
      padding: 0 16px;
      background-color: var(--theme-bg-primary);

      :global {
        .adm-image.adm-avatar {
          width: 32px;
          height: 32px;
          border-radius: 50%;
        }

        .adm-avatar {
          width: 32px;
          height: 32px;
          border-radius: 50%;
        }
      }

      .list_item_content_text {
        flex: 1;
        padding: 12px 16px;
        border-radius: 8px;
        background-color: rgba(0, 0, 0, 0.06);
        position: relative;
        box-sizing: border-box;
        color: rgba(0, 0, 0, 0.88);
        font-size: 14px;
        line-height: 1.5714285714285714;
        min-height: 46px;
        word-break: break-word;
      }
    }
  }

  .list_item_reverse {
    display: flex;
  }

  .message_list {
    height: 100%;
    // scroll-behavior: smooth; // 添加平滑滚动效果
    :global {
      .ant-bubble .ant-bubble-content .ant-bubble-dot-item {
        background-color: var(--theme-primary) !important;
      }

      // 通用消息气泡样式
      .ant-bubble-content-filled {
        background-color: var(--theme-bg-bubble) !important;
        color: var(--theme-text-primary) !important;
      }

      // 消息头部名称样式
      .ant-bubble-header,
      .ant-bubble .ant-bubble-header,
      .ant-bubble-header-text,
      .ant-bubble .ant-bubble-header-text {
        color: var(--theme-text-muted) !important;
        font-size: 12px !important;
      }
    }
  }

  // .content_body_section {
  //   flex: 1;
  //   overflow: auto;
  //   padding: 10px;
  //   background: #fff;
  // }
}

.background_layer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
  }
}



.chat_container {
  position: relative;
  z-index: 2;
  height: 100%;
  margin-top: calc(45px + var(--role-section-height)); // navbar + 角色区域的高度
  padding-bottom: 60px; // 为底部输入框留出空间
  overflow-y: auto;

  // 可以添加一些内边距
  padding: 12px;

  // 确保内容在半透明背景上清晰可见
  background-color: rgba(255, 255, 255, 0.5);
}




.customModalWrapper {
  :global {
    .adm-center-popup-wrap {
      max-width: 420px !important;
      width: 90% !important;
    }
  }
}

.customModal {
  padding: 16px;
  background: var(--theme-bg-card);
  border-radius: 8px;
}

.modalHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;

  .title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
  }

  .closeButton {
    padding: 4px;
    color: var(--theme-text-muted);
  }
}

.modalContent {
  :global {
    .adm-tabs-header {
      border-bottom: 1px solid var(--theme-border-primary);
      margin-bottom: 16px;
    }

    .adm-tabs-tab {
      font-size: 16px;
      color: var(--theme-text-muted);
      padding: 12px 16px;

      &.adm-tabs-tab-active {
        color: var(--adm-color-primary);
        font-weight: 500;
      }
    }

    .adm-radio {
      --icon-size: 20px;
      --font-size: 16px;
      --gap: 8px;

      &.adm-radio-checked {
        --icon-color: var(--adm-color-primary);
      }
    }
  }
}

.model_list {
  padding: 0 4px;
  margin: 0 -4px;
}

.model_item {
  //width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--theme-border-primary);
  border-radius: 8px;
  transition: all 0.3s ease;
  background: var(--theme-bg-card);

  &:last-child {
    margin-bottom: 0;
  }

  &:hover {
    border-color: var(--theme-primary);
    background-color: rgba(233, 30, 99, 0.1);
  }

  &.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--theme-bg-disabled);
    border-color: var(--theme-border-primary);

    &:hover {
      border-color: var(--theme-border-primary);
      background: var(--theme-bg-disabled);
    }
  }

  :global {
    .adm-radio-content {
      width: 100%;
    }
  }
}

.model_info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.model_name {
  font-size: 15px;
  font-weight: 500;
  color: var(--theme-text-primary);
}

.model_desc {
  font-size: 13px;
  color: var(--theme-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;

  &::before {
    content: '💎';
    font-size: 14px;
  }
}

.modalFooter {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--theme-border-primary);
}

.cancelButton {
  color: var(--theme-text-muted);
  font-size: 14px;
  height: 32px;
  padding: 0 12px;
}

.confirmButton {
  font-size: 14px;
  height: 32px;
  padding: 0 16px;
  border-radius: 4px;
}

.page_container {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  position: relative;
  background: var(--theme-bg-secondary);
  // 移动端视口高度适配
  @media screen and (max-width: 768px) {
    height: 100vh;
    // 使用 CSS 变量处理动态视口高度
    height: calc(var(--vh, 1vh) * 100);
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    flex-shrink: 0;
    z-index: 100;
    background: var(--theme-bg-primary);
    border-bottom: 1px solid var(--theme-border-primary);
    height: 45px;
    // 添加安全区域支持
    padding-top: env(safe-area-inset-top);
    height: calc(45px + env(safe-area-inset-top));
    // 确保在移动端正确显示
    -webkit-transform: translateZ(0);
    transform: translateZ(0);

    // 为模型选择器提供相对定位容器
    :global {
      .adm-nav-bar {
        position: relative;
        height: 45px;

        // 修改返回箭头颜色
        .adm-nav-bar-back {
          color: var(--theme-text-primary) !important;
        }

        .adm-nav-bar-back-arrow {
          color: var(--theme-text-primary) !important;
        }
      }
    }
  }

  .role_section {
    position: fixed;
    top: calc(45px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    flex-shrink: 0;
    z-index: 99;
    background: var(--theme-bg-primary);
    border-bottom: 1px solid var(--theme-border-primary);
    // 确保在移动端正确显示
    -webkit-transform: translateZ(0);
    transform: translateZ(0);

    .content_body_top_section_title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 16px;
      background: var(--theme-bg-primary);

      p {
        margin: 0;
        padding: 0;
      }

      .title_left {
        font-weight: 600;
        font-size: 14px;
        color: var(--theme-text-primary);
      }

      .title_right {
        font-weight: 500;
        font-size: 12px;
        color: var(--theme-text-muted);
      }
    }

    .content_body_top_section {
      height: 65px;
      border-radius: 10px;
      display: flex;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-bottom: 10px;

      .content_body_top_section_select {
        background: var(--theme-bg-primary);
        margin-left: 10px;
        flex-shrink: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;

        img {
          width: 32px;
          height: 32px;
          display: block;
          border-radius: 50%;
        }

        .content_body_top_section_select_name {
          font-size: 12px;
          font-weight: 500;
          color: var(--theme-text-primary);
          margin: 0;
          padding: 0;
          margin-top: 5px;
        }
      }
    }
  }

  .chat_section {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    // 为固定的header和role_section预留空间
    margin-top: calc(45px + env(safe-area-inset-top) + var(--role-section-height, 0px));
    // 为底部输入框预留空间
    padding-bottom: calc(55px + env(safe-area-inset-bottom));

    .chat_background {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;

      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
      }
    }

    .chat_content {
      position: relative;
      z-index: 2;
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y pinch-zoom;
      // 确保内容区域不会被底部输入框遮挡
      padding-bottom: env(safe-area-inset-bottom);

      :global {
        .adm-pull-to-refresh {
          min-height: 100%;
          touch-action: none;
        }

        .ant-bubble-list {
          padding: 12px;
          touch-action: pan-y;
        }

        .ant-bubble .ant-bubble-content .ant-bubble-dot-item {
          background-color: var(--theme-accent-danger) !important;
        }
        
        // 通用消息气泡样式
        .ant-bubble-content-filled {
          background-color: var(--theme-bg-bubble) !important;
          color: var(--theme-text-primary) !important;
        }

        
        // 消息头部名称样式
        .ant-bubble-header,
        .ant-bubble .ant-bubble-header,
        .ant-bubble-header-text,
        .ant-bubble .ant-bubble-header-text {
          color: var(--theme-text-muted) !important;
          font-size: 12px !important;
        }
      }
    }
  }

  .footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: var(--theme-bg-primary);
    border-top: 1px solid var(--theme-border-primary);
    padding: 4px 0;
    padding-bottom: calc(4px + env(safe-area-inset-bottom));
    // 确保在移动端正确显示
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    // 添加底部安全区域
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
      padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }

    .button_wrap {
      display: flex;
      justify-content: center;
      padding: 0 10px;
      align-items: center;
      margin: 0 auto;
      width: 95%;
      min-height: 36px;
      background: var(--theme-bg-primary);

      .button_wrap_input {
        width: 267px;
        height: 36px;
        background: rgba(204, 204, 204, 0.2);
        border-radius: 20px;
        
        // 输入框文字颜色
        :global(.ant-sender-input) {
          color: var(--theme-text-primary) !important;
        }
        
        :global(.ant-sender-input::placeholder) {
          color: var(--theme-text-muted) !important;
        }
      }

      .senderHeaderPrefix {
        margin-right: 10px;
        display: flex;
        align-items: center;
        svg {
          width: 16px;
          height: 16px;
        }
      }

      :global {
        .ant-sender {
          &:focus-within {
            border-color: var(--adm-color-primary);

            &::after {
              border-width: 2px;
              border-color: var(--adm-color-primary);
            }
          }

          .ant-sender-content {
            .ant-sender-actions-list {
              button {
                color: var(--adm-color-primary) !important;
                background: transparent !important;
                .ant-btn-icon {
                  transform: rotate(-120deg);
                }
              }
            }
          }
        }
      }
    }
  }
}

// 模型选择器样式
.model_selector_wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  z-index: 10;
}

.model_selector_button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-secondary);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  
  &:hover {
    background: var(--theme-bg-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--theme-primary);
  }
  
  &:active {
    background: var(--theme-bg-active);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: var(--theme-primary);
  }
}

.model_name {
  font-size: 14px;
  color: var(--theme-text-primary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
  letter-spacing: 0.2px;
}

.dropdown_arrow {
  font-size: 12px;
  color: var(--theme-text-secondary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: bold;
}

.model_dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: var(--theme-bg-card);
  border-radius: 12px;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-height: 500px;
  overflow: hidden;
  width: 380px;
  max-width: 90vw;
  border: 1px solid var(--theme-border-primary);
}

// 下拉菜单动画
.dropdown_enter {
  animation: dropdownSlideIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.dropdown_content {
  padding: 0;
  background: var(--theme-bg-card);
  max-height: 450px;
  overflow-y: auto;
  
  // 自定义滚动条
  &::-webkit-scrollbar {
    width: 4px;
  }
  
  &::-webkit-scrollbar-track {
    background: transparent;
  }
  
  &::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
  }
  
  &::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
  }
}

.model_category {
  margin-bottom: 0;
  background: var(--theme-bg-card);
  border-radius: 0;
  padding: 0;
  border: none;
  transition: none;
  border-bottom: 2px solid var(--theme-border-secondary);
  
  &:hover {
    background: var(--theme-bg-hover);
    border-color: transparent;
    transform: none;
  }
  
  &:last-child {
    margin-bottom: 0;
    border-bottom: none;
  }
}

.category_header {
  margin-bottom: 0;
  padding: 12px 16px 10px 16px;
  border-bottom: 1px solid var(--theme-border-primary);
  position: relative;
  background: var(--theme-bg-hover);
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s ease;
  user-select: none;
  text-align: left;
  
  &:hover {
    background: var(--theme-bg-secondary);
  }
  
  &:active {
    background: var(--theme-bg-active);
    transform: scale(0.98);
  }
  
  // 确保分类头部不会显示选中效果
  &.selected {
    background: var(--theme-bg-card) !important;
    
    &::after {
      display: none !important;
    }
  }
  
  &::after {
    display: none;
  }
}

.category_title_wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
  align-items: flex-start;
}

.category_name {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-text-primary);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  gap: 6px;
  text-align: left;
  justify-content: flex-start;
}

.category_desc {
  display: block;
  font-size: 11px;
  color: var(--theme-text-muted);
  line-height: 1.4;
  font-weight: 400;
  opacity: 0.9;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

// 全局输入框文字颜色覆盖
:global {
  .ant-sender .ant-sender-input {
    color: var(--theme-text-primary) !important;
  }
  
  .ant-sender .ant-sender-input::placeholder {
    color: var(--theme-text-muted) !important;
  }
  
  .ant-sender .ant-sender-input:focus {
    color: var(--theme-text-primary) !important;
  }
  
  .ant-sender input {
    color: var(--theme-text-primary) !important;
  }
  
  .ant-sender input::placeholder {
    color: var(--theme-text-muted) !important;
  }
  
  .ant-sender input:focus {
    color: var(--theme-text-primary) !important;
  }
}

.category_arrow {
  font-size: 12px;
  color: var(--theme-text-muted);
  transition: transform 0.3s ease;
  margin-left: 8px;
  flex-shrink: 0;
  
  &.collapsed {
    transform: rotate(-90deg);
  }
}

.models_list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 16px 14px 16px;
}

.model_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  position: relative;
  overflow: visible;
  gap: 8px;
  border-bottom: 1px solid var(--theme-border-primary);
  
  &:last-child {
    border-bottom: none;
  }
  
  &:hover {
    background: var(--theme-bg-secondary);
  }
  
  &.selected {
    background: var(--theme-bg-hover);
    border-left: 3px solid var(--theme-primary);
    
    &::after {
      display: none;
    }
  }
}

.model_info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  z-index: 1;
  position: relative;
}

.model_name {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-text-primary);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  gap: 4px;
  margin-bottom: 1px;
  flex: 1;
  min-width: 0;
}

.model_mode {
  font-size: 10px;
  color: var(--theme-text-muted);
  font-weight: 400;
  opacity: 0.8;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  line-height: 1.2;
}
.model_mode2 {
  font-size: 10px;
  color: var(--theme-accent-danger);
  font-weight: 400;
  opacity: 0.8;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  line-height: 1.2;
}

.status_normal {
  font-size: 9px;
  color: var(--theme-success);
  background: var(--theme-bg-success);
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: fit-content;
}

.status_busy {
  font-size: 9px;
  color: var(--theme-accent-warning);
  background: var(--theme-bg-warning);
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: fit-content;
}

.status_crowded {
  font-size: 9px;
  color: var(--theme-error);
  background: var(--theme-bg-danger);
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: fit-content;
}

// 输入框布局样式
.button_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--theme-bg-primary);
  border-top: 1px solid var(--theme-border-primary);
  
  // 全局Sender组件样式
  :global(.ant-sender) {
    .ant-sender-input {
      color: var(--theme-text-primary) !important;
      background: transparent !important;
      border: none !important;
    }
    
    .ant-sender-input::placeholder {
      color: var(--theme-text-muted) !important;
    }
    
    .ant-sender-input:focus {
      color: var(--theme-text-primary) !important;
      box-shadow: none !important;
    }
  }
  
  // 更具体的选择器覆盖
  :global(.ant-sender .ant-sender-input) {
    color: var(--theme-text-primary) !important;
  }
  
  :global(.ant-sender .ant-sender-input::placeholder) {
    color: var(--theme-text-muted) !important;
  }
  
  :global(.ant-sender .ant-sender-input:focus) {
    color: var(--theme-text-primary) !important;
  }
  
  // 针对可能的嵌套结构
  :global(.ant-sender input) {
    color: var(--theme-text-primary) !important;
  }
  
  :global(.ant-sender input::placeholder) {
    color: var(--theme-text-muted) !important;
  }
  
  :global(.ant-sender input:focus) {
    color: var(--theme-text-primary) !important;
  }
}

.input_left_actions {
  display: flex;
  align-items: center;
}

.upload_bg_button {
  font-size: 24px;
  color: var(--theme-text-primary);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--theme-text-primary);
  width: 18px;
  height: 18px;
  
  &:hover {
    background: var(--theme-text-primary);
    color: var(--theme-bg-primary);
  }
}

.input_center {
  flex: 1;
  margin: 0 8px;
}

.input_field {
  width: 100%;
  background-color: var(--theme-bg-input);
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--theme-text-primary);
  font-size: 14px;
  outline: none;
  line-height: 1.2;
  height: auto;
  min-height: auto;
  max-height: 150px;
  overflow-y: auto;
  resize: none;
  font-family: inherit;
  transition: background-color 0.2s ease, height 0.2s ease;
  vertical-align: middle;
  box-sizing: border-box;
  
  // 隐藏滚动条但保持滚动功能
  scrollbar-width: thin;
  scrollbar-color: var(--theme-border-primary) transparent;
  
  &::-webkit-scrollbar {
    width: 6px;
  }
  
  &::-webkit-scrollbar-track {
    background: transparent;
  }
  
  &::-webkit-scrollbar-thumb {
    background-color: var(--theme-border-primary);
    border-radius: 3px;
  }
  
  &::placeholder {
    color: var(--theme-text-muted);
  }
  
  &:focus {
    background-color: var(--theme-bg-hover);
  }
}

.input_right_actions {
  display: flex;
  align-items: center;
}

.send_button {
  background: var(--theme-accent-danger);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--theme-text-primary);
  font-size: 18px;
  
  &:hover:not(:disabled) {
    background: var(--theme-primary-hover);
    transform: scale(1.05);
  }
  
  &:disabled {
    background: var(--theme-bg-disabled);
    cursor: not-allowed;
    opacity: 0.6;
  }
}

// 消息操作区域样式
.message_actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding: 0 16px;
}

.message_time {
  font-size: 10px;
  color: var(--theme-text-secondary);
  margin-right: 6px;
  font-weight: 500;
  opacity: 0.8;
}

.action_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--theme-text-secondary);
  
  &:hover {
    background: rgba(0, 0, 0, 0.5);
    color: var(--theme-text-primary);
  }
  
  &:active {
    transform: scale(0.95);
  }
}

.action_icon {
  font-size: 14px;
}

// 加载状态样式
.loading_models {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 16px;
  
  span {
    font-size: 14px;
    color: var(--theme-text-muted);
    font-weight: 500;
  }
}

.loading_spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(33, 150, 243, 0.1);
  border-top: 3px solid var(--theme-accent-info);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

// 空状态样式
.no_models {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  
  span {
    font-size: 14px;
    color: var(--theme-text-muted);
    font-weight: 500;
  }
}
:global{
  .adm-pull-to-refresh-content{
    background-color: transparent !important;
  }
}

// 弹窗样式已移至全局样式文件 src/styles/common.less

// 可点击头像样式
.clickable_avatar {
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.2s ease;
  
  &:hover {
    opacity: 0.8;
  }
  
  &:active {
    opacity: 0.6;
  }
  
  :global {
    .adm-avatar {
      transition: transform 0.2s ease;
    }
  }
  
  &:hover :global(.adm-avatar) {
    transform: scale(1.05);
  }
}